﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:WpfApplication1"
	mc:Ignorable="d"
	x:Class="WpfApplication1.CP"
	x:Name="StatusWindow"
	d:DesignWidth="675" d:DesignHeight="321" >
    <UserControl.Resources>
        <ContextMenu  x:Key="RowMenu" DataContext="{Binding PlacementTarget.DataContext, RelativeSource={RelativeSource Self}}">
            <MenuItem Header="Edit" Command="{Binding EditCommand}"/>
        </ContextMenu>
        <Style x:Key="DefaultRowStyle" TargetType="{x:Type DataGridRow}">
            <Setter Property="ContextMenu" Value="{StaticResource RowMenu}" />
        </Style>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Height="305" Width="653">
		<RichTextBox Margin="5,6,0,0" MinWidth="150" MinHeight="265" x:Name="Output" IsReadOnly="True" VerticalScrollBarVisibility="Visible" Height="265" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" >
			<FlowDocument>
				<Paragraph ><Run Text="Not logged in.."/></Paragraph>
			</FlowDocument>
		</RichTextBox>
        <DataGrid Margin="0,6,0,0" x:Name="Members" IsReadOnly="True" GridLinesVisibility="Horizontal" CanUserAddRows="false" Height="265" VerticalAlignment="Top" HorizontalAlignment="Right" Width="221" >

          

        </DataGrid>
        <TextBox Height="22" HorizontalAlignment="Right" Margin="0,278,248,0" Name="UserInput" VerticalAlignment="Top" Width="400" />
        <ComboBox Height="22" HorizontalAlignment="Right" Margin="0,278,0,0" Name="ChannelCb" VerticalAlignment="Top" Width="221" IsEditable="False" />
    </Grid>
</UserControl>